package com.yuanfeng.business.controller;


import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName ShopRetentionMoneyRecordController
 * @Description  质保金充值，提现记录
 * @Author cyp
 * @Date 2023-08-21 13:42:41
 * @Version 1.0
 **/
@RestController
@RequestMapping("shop/RetentionMoneyRecord")
public class ShopRetentionMoneyRecordController extends BaseController {
    /**
     * 质保金充值
     */
    @PostMapping("/recharge")
    public ResponseResult recharge(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.recharge(map);
    }


    /**
     * 质保金充值记录查询
     */
    @PostMapping("/queryRecord")
    public ResponseResult queryRecord(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.queryRecord(map);
    }


    @PostMapping("/selectsEndTime")
    public ResponseResult selectsEndTime(){
        return shopRetentionMoneyRecordService.selectsEndTime();
    }

    /**
     * 质保金提现
     */
    @PostMapping("/withdRawal")
    public ResponseResult withdRawal(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.withdRawal(map);
    }


    /**
     * 查询账单明细
     */
    @PostMapping("/qureyBill")
    public ResponseResult qureyBill(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.qureyBill(map);
    }

    /**
     * 查询投诉列表
     */
    @PostMapping("/qureyComplaint")
    public ResponseResult qureyComplaint(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.qureyComplaint(map);
    }


    /**
     * 处理投诉
     */
    @PostMapping("/handlingComplaints")
    public ResponseResult handlingComplaints(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.handlingComplaints(map);
    }


    /**
     * 查询投诉详情
     */
    @PostMapping("/qureyComplaintDetail")
    public ResponseResult qureyComplaintDetail(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.qureyComplaintDetail(map);
    }


    /**
     * 查询账单明细导出
     */
    @PostMapping("/qureyBillExp")
    public ResponseResult qureyBillExp(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.qureyBillExp(map);
    }


    /**
     * 查询店铺质保金明细
     */
    @PostMapping("/queryShopDetail")
    public ResponseResult queryShopDetail(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.queryShopDetail(map);
    }


    /**
     * 罚款质保金
     */
    @PostMapping("/insertShopComplaints")
    public ResponseResult insertShopComplaints(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.insertShopComplaints(map);
    }


    /**
     * 平台充值质保金
     */
    @PostMapping("/platform/recharge")
    public ResponseResult platformRecharge(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.platformRecharge(map);
    }


    /**
     * 查询对公转账待审核列表
     */
    @PostMapping("/queryAudit")
    public ResponseResult queryAudit(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.queryAudit(map);
    }


    /**
     * 审核对公转账
     */
    @PostMapping("/processPayment")
    public ResponseResult processPayment(@RequestBody Map<String,Object> map){
        return shopRetentionMoneyRecordService.processPayment(map);
    }
}
